#!/bin/bash

#
# Call the convertResize-forced script and add the overlay of a video.
#
# ----------
# -- Args --
# ----------

# Set the path of the resources
path=/srv/upload-scripts/resources
command=`echo $1 | sed 's/\<./\u&/'`
command=convert$command
$command $2 $3 $4 | composite -gravity center $path/play.png - "${5:-png}":

